﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Model
{

    [Serializable]
    public class cms_category
    {

        public cms_category()
        { }
        #region 
        [Key]
        /// <summary>
        /// id
        /// </summary>		
        public int id { get; set; }
        /// <summary>
        /// category_name
        /// </summary>		
        public string category_name { get; set; }
        /// <summary>
        /// 父ID 只支持三级栏目
        /// </summary>		
        public int category_parent_id { get; set; }
        /// <summary>
        /// category_type
        /// </summary>		
        public int category_type { get; set; }

        /// <summary>
        /// 是否显示
        /// </summary>
        public bool IsDisplay { get; set; }

        /// <summary>
        /// 设置推荐人数
        /// </summary>
        public int? recommend_number { get; set; }

        /// <summary>
        /// 优惠卷id
        /// </summary>
        public int? coupon_id { get; set; }


        /// <summary>
        /// 文件路径名称
        /// </summary>		
        public string category_url_name { get; set; }
        /// <summary>
        /// seo_title
        /// </summary>		
        public string seo_title { get; set; }
        /// <summary>
        /// seo_keywords
        /// </summary>		
        public string seo_keywords { get; set; }
        /// <summary>
        /// seo_des
        /// </summary>		
        public string seo_des { get; set; }
        /// <summary>
        /// category_sort
        /// </summary>		
        public int category_sort { get; set; }
        /// <summary>
        /// 直接跳转到网址
        /// </summary>		
        public string category_go_url { get; set; }
        /// <summary>
        /// category_abstract
        /// </summary>		
        public string category_abstract { get; set; }
        /// <summary>
        /// 栏目内容
        /// </summary>		
        public string category_context { get; set; }
        /// <summary>
        /// category_image
        /// </summary>		
        public string category_image { get; set; }
        /// <summary>
        /// 幻灯片类型 扩展值
        /// </summary>		
        public int? animation_type { get; set; }
        /// <summary>
        /// 单图数量
        /// </summary>		
        public int? single_image_num { get; set; }
        /// <summary>
        /// 相册数量
        /// </summary>		
        public int? album_num { get; set; }
        /// <summary>
        /// category_address
        /// </summary>		
        public string category_address { get; set; }
        /// <summary>
        /// category_tel
        /// </summary>		
        public string category_tel { get; set; }
        /// <summary>
        /// category_animationtype
        /// </summary>		
        public int? category_animationtype { get; set; }
        /// <summary>
        /// category_unitname
        /// </summary>		
        public string category_unitname { get; set; }
        /// <summary>
        /// category_show
        /// </summary>		
        public int? category_show { get; set; }


        #endregion



    }
}
